<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="UTF-8" />
        <title>10_HTML5-新增列表标签-datalist</title>
    </head>
    <body>
        <form action="">
            <!-- list的值要和datalist的id值是一致的 -->
            <input type="text" list="dl"><button>硅谷一下</button>

            <datalist id="dl">
                <option value="周杰伦"></option>
                <option value="周杰"></option>
                <option value="林俊杰"></option>
                <option value="杰哥"></option>
                <option value="赵英俊"></option>
            </datalist>
        </form>
    </body>
</html>